 import {teachingResearchReportPage} from '@/api/createResult'
const state = {
 teachReportInfo:{},//教研报告 查询

}
const mutations = {
  // teachReportInfo:(state,data)=>{
  //   state.teachReportInfo =  data
  // }
}
const actions = {
    async reportPage({commit,state},params){
       params = params || {
        "condition": {
          'categoryList':null,
          'title':'',
          'userId': state.userId
        },
        "orderBys": [
          {
            "asc": true,
            "column": null
          }
        ],
        "pager": {
          "page": 1,
          "pageSize": 12
        }
      }
     //this.$store.dispatch('uploadLessonPlanss/Page',params)
    let  {data} = await teachingResearchReportPage(params)
    //data = require('@/api/loc/teachingResearch').reportPage.data
    state.teachReportInfo =  data
    //sscommit('teachReportInfo',data)
   }
}

export default {
  state,
  mutations,
  actions,
  namespaced: true
}
